* {
    padding: 0;
    margin: 0;
}

.container {
    width: 800px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

.container footer {
    height: 50px;
    display: flex;
    margin-top: 10px;
}

.container footer .left {
    flex: 1;
}

.container footer .right {
    width: 120px;
    margin-left: 10px;
}
.container main{
    flex: 1;
    border: 1px solid #999;
    border-radius: 20px;
    /* overflow: hidden; */
}
main .wrapper{
    box-sizing: border-box;
    padding: 10px;
}
input{
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    box-sizing: border-box;
    padding: 10px;
    font-size: 20px;
    color: #333;
    border: 1px solid #333;
    border-radius: 50px;
}
button{
    width: 100%;
    height: 100%;
    border: none;
    background-color: blue;
    color: #fff;
    font-size: 24px;
    border-radius: 50px;
}

/* 消息框样式 */
.message-item{
    /* border: 1px solid #f00; */
}
.msg-right{
    text-align: right;
}
.msg-right .message-text{
    background-color: blue;
    color: #fff;
    border-radius: 40px;
    border-top-right-radius: 0;
}
.message-item .message-top{
    display: flex;
}
.message-item .message-bottom{
    margin-top: 10px;
}
.message-item .message-top .message-avatar{
    width: 40px;
    height: 40px;
    border-radius: 40px;
    overflow: hidden;
}
.message-avatar img{
    width: 100%;
    height: 100%;
}
.message-item .message-top .message-name{
    flex: 1;
    height: 40px;
    line-height: 40px;
    margin-left: 10px;
    color: #666;
    font-size: 12px;
}
.message-text{
    border: solid #999;
    color: #333;
    padding: 10px;
    display: inline-block;
    border-radius: 40px;
    border-top-left-radius: 0;
}